<?php include './application/views/common/zhs_header.php';?>
<div class="newtitle-box">
  <div class="newtitle w">
    <span class="invlist_title">您现在的位置：<a href="index.html">首页</a>><a class="red" href="#">论坛</a></span>
  </div>
</div>


<?php include './application/views/forum/zhs_title.php';?>

<div class="login_box w">
 <?php include './application/views/forum/zhs_left.php'; ?>
 
  <div class="bbsbd_right">
    <h3 class="bbsh3"><?php echo $theme['name'];?></h3>
    <ul class="bbsrg_bd">
      <li><span class="news_title">筛选：<select class="bbsinpt" name=""></select></span><span class="news_title">排序：<select class="bbsinpt" name=""></select></span><a class="bbstt" href="/forum/forumPost/<?php echo $theme['id']?>.html"></a></li>
      <li><span class="news_bd1">主题</span><span class="news_bd2">作者</span><span class="news_bd3">回应</span><span class="news_bd2" style="text-align:right;">时间</span></li>
      <?php foreach($forum_list as $key=>$forum){?>
      <li><span class="news_bd1"><a href= "/forum/thread/<?php echo $forum['id'];?>.html"><?php echo $forum['subject'];?></a></span><span class="news_bd2"><?php if(is_numeric($forum['author'])){echo strdisplay_start($forum['author'],1);}else{echo $forum['author'];}?></span><span class="news_bd3"><?php echo $forum['recovery'];?></span><span class="news_bd4" style="text-align:right;"><?php echo date('Y-m-d H:i',$forum['add_time']);?></span></li>
      <?php }?>
      <div class="invbd_page"><?php echo $this->pagination->create_links();?></div>
    </ul>
  </div>
  
</div> 

<?php include './application/views/common/zhs_footer.php';?>
<?php include './application/views/common/zhs_right.php';?>
